<h1 id="mainTitle" class="add">クラス情報の編集 / <?php echo $course['Course']['title'];?>
	<?php echo $this->Html->link(
		$this->Html->image('btn_add_schedule_off.png'),
		array('controller' => 'courseDetail', 'action' => 'add', $course['Course']['id']),
		array('escape' => false, 'class' => 'addSchedule'));
	?>
</h1>
<?php if (is_array($details)):?>
<?php foreach ($details as $detail):?>
<h2 class="scheduleTitle"><?php echo $this->Time->format('Y/m/d H:i', $detail['CourseDetail']['opening_date']);?></h2>
<table class="schedule manage">
	<tr class="first">
		<td class="left">開催場所</td>
		<td>
			<dl>
				<dd>エリア</dd>
				<dt><?php echo $detail['Area']['name'];?>&nbsp;</dt>
				<dd>郵便番号</dd>
				<dt>〒<?php echo $detail['CourseDetail']['zip01'];?>-<?php echo $detail['CourseDetail']['zip02'];?>&nbsp;</dt>
				<dd>市区町村</dd>
				<dt><?php echo $detail['CourseDetail']['address01'];?>&nbsp;</dt>
				<dd>番地・建物名</dd>
				<dt><?php echo $detail['CourseDetail']['address02'];?>&nbsp;</dt>
				<dd>開催場所名</dd>
				<dt><?php echo $detail['CourseDetail']['place_name'];?>&nbsp;</dt>
			</dl>
		</td>
	</tr>
	<tr>
		<td class="left">参加内容詳細</td>
		<td>
			<dl>
				<dd>最大参加人数</dd>
				<dt><?php echo $detail['CourseDetail']['attend_total'];?></dt>
				<dd>参加費用</dd>
				<dt><?php echo number_format($detail['CourseDetail']['price']);?>円</dt>
			</dl>
		</td>
	</tr>
	<tr class="last">
		<td class="left">その他 表記事項</td>
		<td>
			<p><?php echo $detail['CourseDetail']['notice'];?></p>
			<?php echo $this->Html->link(
				$this->Html->image('btn_edit_shcedule_off.png'),
				array('action' => 'edit', $detail['CourseDetail']['id']),
				array('escape' => false, 'class' => 'btnEditSchedule')
			);?>
		</td>
	</tr>
</table>
<?php endforeach;?>
<?php echo $this->element('paginator');?>
<?php endif;?>
<?php echo $this->element('top_link');?>